home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3mpcnst.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_MPCONSTANT_H = 1;
- include("real/code/r3matprp.js")
-
-
- var R3CLID_MPCONSTANT = 365;
-
-
-
-
- // Description: Fetch the type of the output channel.
- // Returns: Integer, type as described in oops/r3typids.h R3TID_FLOAT, R3TID_VECTOR etc.
-
- R3MPCM_GETOUTPUTTYPE = 365000;
-
- function mR3MPCM_GETOUTPUTTYPE() {
- return DoA(this.r3obj, 365000, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3MPCA_Constant = 365500;
- function SetR3MPCA_Constant(value) {
- R3Set(this.r3obj, R3MPCA_Constant, value, R3TID_INTEGER, 0);
- }
-
- function GetR3MPCA_Constant() {
- return R3Get(this.r3obj, R3MPCA_Constant, R3TID_INTEGER, 0);
- }
-
- var R3MPCA_ValueType = 365501; // Integer
- R3MPCA_Float = 365502;
- function SetR3MPCA_Float(value) {
- R3Set(this.r3obj, R3MPCA_Float, value, R3TID_FLOAT, 0);
- }
-
- function GetR3MPCA_Float() {
- return R3Get(this.r3obj, R3MPCA_Float, R3TID_FLOAT, 0);
- }
-
- R3MPCA_Vector = 365503;
- function SetR3MPCA_Vector(value) {
- R3Set(this.r3obj, R3MPCA_Vector, value, R3TID_VECTOR, 0);
- }
-
- function GetR3MPCA_Vector() {
- return R3Get(this.r3obj, R3MPCA_Vector, R3TID_VECTOR, 0);
- }
-
- R3MPCA_Vector4 = 365504;
- function SetR3MPCA_Vector4(value) {
- R3Set(this.r3obj, R3MPCA_Vector4, value, R3TID_VECTOR4, 0);
- }
-
- function GetR3MPCA_Vector4() {
- return R3Get(this.r3obj, R3MPCA_Vector4, R3TID_VECTOR4, 0);
- }
-
-
-
- function r3Mpconstant () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_MPCONSTANT, arguments);
- }
- // Methods
- this.GETOUTPUTTYPE=mR3MPCM_GETOUTPUTTYPE;
-
- // Attributes
- this.GetConstant=GetR3MPCA_Constant;
- this.SetConstant=SetR3MPCA_Constant;
- this.GetFloat=GetR3MPCA_Float;
- this.SetFloat=SetR3MPCA_Float;
- this.GetVector=GetR3MPCA_Vector;
- this.SetVector=SetR3MPCA_Vector;
- this.GetVector4=GetR3MPCA_Vector4;
- this.SetVector4=SetR3MPCA_Vector4;
- }
-
- r3Mpconstant.prototype=new r3Matprop;
- // r3mpcnst.h_H